<template>
  <div class="game-bg">
      <router-view></router-view>
  </div>
</template>

<script>
export default {
mounted() {
        window.GlobalMp3.loop = true
    },

    destroyed() {
        window.GlobalMp3.loop = false
    },
}
</script>

<style>
.game-bg{
    width: 100%;
    height: 100%;
    background: url(@/assets/image/bg.jpg);
    background-size: 100% 100%;
    position: relative;
}
</style>